package com.czh.subject.domain.service;

import com.czh.subject.domain.entity.SubjectCategoryBO;

import java.util.List;

public interface SubjectCategoryDomainService {
    Boolean addSubjectCategory(SubjectCategoryBO subjectCategoryBo);

    List<SubjectCategoryBO> queryCategory(SubjectCategoryBO subjectCategoryBO);

    Boolean update(SubjectCategoryBO subjectCategoryBO);

    Boolean delete(SubjectCategoryBO subjectCategoryBO);
    /**
     * @deprecated
     */
    List<SubjectCategoryBO> queryCategoryAndLabel(SubjectCategoryBO subjectCategoryBO);
    /**
     * 多线程优化1
     * @deprecated
     */
    List<SubjectCategoryBO> queryCategoryAndLabelOptimize1(SubjectCategoryBO subjectCategoryBO);

    /**
     * 多线程优化2
     */
    List<SubjectCategoryBO> queryCategoryAndLabelOptimize2(SubjectCategoryBO subjectCategoryBO);
}
